$(function() {
    var el = $('body'),
        comTVBroadcastStatistic, comTVSocialStatistic, comTVRetainedStatistic, comTVRelateWords;

    // initiate layout and plugins
    Metronic.init(); // init metronic core components
    Layout.init(); // init current layout
    Demo.init(); // init demo features



    comTVRetainedStatistic = el.find('.com-tv-retained-statistic').TVRetainedStatistic({
        data: pageData.tvRetainedStatistic
    });
    comTVRelateWords = el.find('.com-tv-relate-words').TVRelateWords({
        data: pageData.tvRelateWords
    });
    comTVSocialStatistic = el.find('.com-tv-social-statistic').TVSocialStatistic({
        data: pageData.tvSocialStatistic
    });
    comTVBroadcastStatistic = el.find('.com-tv-broadcast-statistic').TVBroadcastStatistic({
        data: pageData.tvBroadcastStatistic
    });
});
